home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / DllSys_Files / AXON / BKAXON.C < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-08  |  1.1 KB  |  37 lines

  1. // Dynamic link library implementation of NeuroSolutions BackAxon component 
  2.  
  3. #include "NSDLL.h" 
  4.  
  5. /* Backpropagation of component */
  6.  
  7. __declspec(dllexport) void performBackAxon(
  8.     DLLData    *instance,    // Pointer to instance data (may be NULL)
  9.     DLLData    *dualInstance,    // Pointer to forward axonÆs instance data (may be NULL)
  10.     NSFloat    *data,         // Pointer to the layer of processing elements (PEs)
  11.     int     rows,        // Number of rows of PEs in the layer
  12.     int     cols,        // Number of columns of PEs in the layer
  13.     NSFloat    *error         // Pointer to the sensitivity vector
  14.     )
  15. {
  16.  
  17. }
  18.  
  19. /******************************************/
  20. /* Management of instance data (OPTIONAL) */
  21. /*
  22. __declspec(dllexport) DLLData *allocBackAxon(
  23.     DLLData    *oldInstance,    // Pointer to the last instance if reallocating
  24.     DLLData    *dualInstance,    // Pointer to forward axonÆs instance data (may be NULL)
  25.     int     rows,        // Number of rows of PEs in the layer
  26.     int     cols        // Number of columns of PEs in the layer
  27.     )
  28. {
  29.     DLLData *instance = allocDLLInstance(oldInstance);
  30.     return instance;
  31. }
  32.  
  33. __declspec(dllexport) void freeBackAxon(DLLData *instance)
  34. {
  35.     freeDLLInstance(instance);
  36. }
  37. */